<script lang="jsx" setup>
import dayjs from 'dayjs';
import { computed, nextTick, ref } from 'vue';

const commonSearchRef = ref(null);
const tableRef = ref(null);
const searchParams = ref({
  moduleNo: null,
  lotId: null,
  pnlId: null,
  time: null,
  hasPnl: null
});

const searchFormList = [
  {
    type: 'input',
    key: 'moduleNo',
    label: '生产型号',
    span: 24,
    md: 12,
    lg: 10,
    xl: 8,
    xxl: 6,
    placeholder: '请输入生产型号',
    showTime: true
  },
  {
    type: 'input',
    key: 'lotId',
    label: '批次号',
    span: 24,
    md: 12,
    lg: 10,
    xl: 8,
    xxl: 6,
    placeholder: '请输入批次号',
    showTime: true
  },
  {
    type: 'select',
    key: 'hasPnl',
    label: '是否有码',
    placeholder: '请选择是否有码',
    span: 24,
    md: 12,
    lg: 8,
    xl: 8,
    xxl: 6,
    selectOptions: [
      {
        label: '有码',
        value: 1
      },
      {
        label: '无码',
        value: 2
      }
    ]
  },
  {
    type: 'input',
    key: 'pnlId',
    label: ' PNL码',
    span: 24,
    md: 12,
    lg: 10,
    xl: 8,
    xxl: 6,
    placeholder: '请输入PNL码',
    showTime: true
  },

  {
    type: 'dateRangePicker',
    key: 'time',
    label: '日　　期',
    span: 24,
    md: 12,
    lg: 10,
    xl: 8,
    xxl: 6,
    showTime: true // 显示时分秒选择
  }
];

const searchData = computed(() => {
  const params = {
    ...searchParams.value
  };
  if (searchParams.value?.time?.[0]) {
    params.startTime = dayjs(searchParams.value.time[0]).format('YYYY-MM-DD HH:mm:ss');
    params.endTime = dayjs(searchParams.value.time[1]).format('YYYY-MM-DD HH:mm:ss');
  }
  delete params.time;
  return params;
});

// 表格数据
const column = [
  {
    key: 'dataIndex',
    dataIndex: 'dataIndex',
    title: '序号',
    fixed: 'left',
    width: 70,
    align: 'center',
    checked: true,
    ellipsis: true
  },

  {
    key: 'moduleNo',
    dataIndex: 'moduleNo',
    title: ' 生产型号',
    width: 160,
    align: 'center',
    checked: true,
    ellipsis: true,
    fixed: 'left'
  },
  {
    key: 'lotId',
    dataIndex: 'lotId',
    title: ' 批次号',
    width: 140,
    align: 'center',
    checked: true,
    ellipsis: true,
    fixed: 'left'
  },
  {
    key: 'pnlId',
    dataIndex: 'pnlId',
    title: ' PNL码',
    width: 150,
    align: 'center',
    checked: true,
    ellipsis: true,
    fixed: 'left'
  },
  {
    key: 'readCodeTime',
    dataIndex: 'readCodeTime',
    title: ' 进站时间',
    width: 150,
    align: 'center',
    checked: true,
    ellipsis: true,
    fixed: 'left'
  },
  {
    key: 'mainEqpId',
    dataIndex: 'mainEqpId',
    title: '设备编号',
    align: 'center',
    width: 120,
    checked: true,
    ellipsis: true,
    fixed: 'left'
  },
  {
    key: 'itemName1',
    dataIndex: 'itemName1',
    title: '开机时间累积  h',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName2',
    dataIndex: 'itemName2',
    title: '运行时间累积 h',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName3',
    dataIndex: 'itemName3',
    title: '批次产量累积 PNL',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName4',
    dataIndex: 'itemName4',
    title: '总产量累积 PNL',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName5',
    dataIndex: 'itemName5',
    title: '用电量累积 kW·h',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName6',
    dataIndex: 'itemName6',
    title: '输送速度(检查3-水刀洗28)_实时值 m/min',
    align: 'center',
    width: 300,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName7',
    dataIndex: 'itemName7',
    title: '输送速度(沉铜-出板)_实时值 m/min',
    align: 'center',
    width: 250,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName8',
    dataIndex: 'itemName8',
    title: '输送速度(检查3-水刀洗28)_设置值 m/min',
    align: 'center',
    width: 300,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName9',
    dataIndex: 'itemName9',
    title: '输送速度(沉铜-出板)_设置值 m/min',
    align: 'center',
    width: 250,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName10',
    dataIndex: 'itemName10',
    title: '整孔A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName11',
    dataIndex: 'itemName11',
    title: '整孔B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName12',
    dataIndex: 'itemName12',
    title: '整孔C频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName13',
    dataIndex: 'itemName13',
    title: '微蚀A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName14',
    dataIndex: 'itemName14',
    title: '微蚀B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName15',
    dataIndex: 'itemName15',
    title: '微蚀C频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName16',
    dataIndex: 'itemName16',
    title: '预浸频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName17',
    dataIndex: 'itemName17',
    title: '活化A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName18',
    dataIndex: 'itemName18',
    title: '活化B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName19',
    dataIndex: 'itemName19',
    title: '活化C频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName20',
    dataIndex: 'itemName20',
    title: '活化循环频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName21',
    dataIndex: 'itemName21',
    title: '还原A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName22',
    dataIndex: 'itemName22',
    title: '还原B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName23',
    dataIndex: 'itemName23',
    title: '沉铜1A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName24',
    dataIndex: 'itemName24',
    title: '沉铜1B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName25',
    dataIndex: 'itemName25',
    title: '沉铜2A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName26',
    dataIndex: 'itemName26',
    title: '沉铜2B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName27',
    dataIndex: 'itemName27',
    title: '沉铜3A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName28',
    dataIndex: 'itemName28',
    title: '沉铜3B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName29',
    dataIndex: 'itemName29',
    title: '沉铜4A频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName30',
    dataIndex: 'itemName30',
    title: '沉铜4B频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName31',
    dataIndex: 'itemName31',
    title: '沉铜4C频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName32',
    dataIndex: 'itemName32',
    title: '沉铜2循环频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName33',
    dataIndex: 'itemName33',
    title: '沉铜3循环频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName34',
    dataIndex: 'itemName34',
    title: '强风吹干频率_实时值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName35',
    dataIndex: 'itemName35',
    title: '整孔A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName36',
    dataIndex: 'itemName36',
    title: '整孔B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName37',
    dataIndex: 'itemName37',
    title: '整孔C频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName38',
    dataIndex: 'itemName38',
    title: '微蚀A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName39',
    dataIndex: 'itemName39',
    title: '微蚀B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName40',
    dataIndex: 'itemName40',
    title: '微蚀C频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName41',
    dataIndex: 'itemName41',
    title: '预浸频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName42',
    dataIndex: 'itemName42',
    title: '活化A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName43',
    dataIndex: 'itemName43',
    title: '活化B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName44',
    dataIndex: 'itemName44',
    title: '活化C频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName45',
    dataIndex: 'itemName45',
    title: '活化循环频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName46',
    dataIndex: 'itemName46',
    title: '还原A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName47',
    dataIndex: 'itemName47',
    title: '还原B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName48',
    dataIndex: 'itemName48',
    title: '沉铜1A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName49',
    dataIndex: 'itemName49',
    title: '沉铜1B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName50',
    dataIndex: 'itemName50',
    title: '沉铜2A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName51',
    dataIndex: 'itemName51',
    title: '沉铜2B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName52',
    dataIndex: 'itemName52',
    title: '沉铜3A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName53',
    dataIndex: 'itemName53',
    title: '沉铜3B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName54',
    dataIndex: 'itemName54',
    title: '沉铜4A频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName55',
    dataIndex: 'itemName55',
    title: '沉铜4B频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName56',
    dataIndex: 'itemName56',
    title: '沉铜4C频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName57',
    dataIndex: 'itemName57',
    title: '沉铜2循环频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName58',
    dataIndex: 'itemName58',
    title: '沉铜3循环频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName59',
    dataIndex: 'itemName59',
    title: '强风吹干频率_设置值 Hz',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName60',
    dataIndex: 'itemName60',
    title: '整孔A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName61',
    dataIndex: 'itemName61',
    title: '整孔B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName62',
    dataIndex: 'itemName62',
    title: '整孔C流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName63',
    dataIndex: 'itemName63',
    title: '微蚀B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName64',
    dataIndex: 'itemName64',
    title: '微蚀C流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName65',
    dataIndex: 'itemName65',
    title: '预浸流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName66',
    dataIndex: 'itemName66',
    title: '活化A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName67',
    dataIndex: 'itemName67',
    title: '活化B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName68',
    dataIndex: 'itemName68',
    title: '活化C流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName69',
    dataIndex: 'itemName69',
    title: '还原A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName70',
    dataIndex: 'itemName70',
    title: '还原B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName71',
    dataIndex: 'itemName71',
    title: '沉铜1A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName72',
    dataIndex: 'itemName72',
    title: '沉铜1B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName73',
    dataIndex: 'itemName73',
    title: '沉铜2A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName74',
    dataIndex: 'itemName74',
    title: '沉铜2B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName75',
    dataIndex: 'itemName75',
    title: '沉铜3A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName76',
    dataIndex: 'itemName76',
    title: '沉铜3B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName77',
    dataIndex: 'itemName77',
    title: '沉铜4A流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName78',
    dataIndex: 'itemName78',
    title: '沉铜4B流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName79',
    dataIndex: 'itemName79',
    title: '沉铜4C流量 L/min',
    align: 'center',
    width: 150,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName80',
    dataIndex: 'itemName80',
    title: '水刀洗15补水流量 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName81',
    dataIndex: 'itemName81',
    title: '水刀洗19补水流量 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName82',
    dataIndex: 'itemName82',
    title: '水刀洗23补水流量 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName83',
    dataIndex: 'itemName83',
    title: '水刀洗27补水流量 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName84',
    dataIndex: 'itemName84',
    title: '热水刀洗4补水流量 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName85',
    dataIndex: 'itemName85',
    title: '超声波控制19_实时值 L/min',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName86',
    dataIndex: 'itemName86',
    title: '超声波控制20_实时值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName87',
    dataIndex: 'itemName87',
    title: '超声波控制21_实时值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName88',
    dataIndex: 'itemName88',
    title: '超声波控制22_实时值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName89',
    dataIndex: 'itemName89',
    title: '超声波控制19_设置值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName90',
    dataIndex: 'itemName90',
    title: '超声波控制20_设置值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName91',
    dataIndex: 'itemName91',
    title: '超声波控制21_设置值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName92',
    dataIndex: 'itemName92',
    title: '超声波控制22_设置值 %',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName93',
    dataIndex: 'itemName93',
    title: '整孔温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName94',
    dataIndex: 'itemName94',
    title: '微蚀温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName95',
    dataIndex: 'itemName95',
    title: '预浸温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName96',
    dataIndex: 'itemName96',
    title: '活化温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName97',
    dataIndex: 'itemName97',
    title: '还原温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName98',
    dataIndex: 'itemName98',
    title: '沉铜1温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName99',
    dataIndex: 'itemName99',
    title: '沉铜2温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },

  {
    key: 'itemName100',
    dataIndex: 'itemName100',
    title: '沉铜3温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName101',
    dataIndex: 'itemName101',
    title: '沉铜4温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName102',
    dataIndex: 'itemName102',
    title: '热水刀洗5温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName103',
    dataIndex: 'itemName103',
    title: '强热风吹干1温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName104',
    dataIndex: 'itemName104',
    title: '强热风吹干2温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName105',
    dataIndex: 'itemName105',
    title: '微蚀开药缸温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName106',
    dataIndex: 'itemName106',
    title: '还原添加缸A温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName107',
    dataIndex: 'itemName107',
    title: '沉铜暂存缸温度_实时值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName108',
    dataIndex: 'itemName108',
    title: '整孔温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName109',
    dataIndex: 'itemName109',
    title: '微蚀温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName110',
    dataIndex: 'itemName110',
    title: '预浸温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName111',
    dataIndex: 'itemName111',
    title: '活化温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName112',
    dataIndex: 'itemName112',
    title: '还原温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName113',
    dataIndex: 'itemName113',
    title: '沉铜1温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName114',
    dataIndex: 'itemName114',
    title: '沉铜2温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName115',
    dataIndex: 'itemName115',
    title: '沉铜3温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName116',
    dataIndex: 'itemName116',
    title: '沉铜4温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName117',
    dataIndex: 'itemName117',
    title: '热水刀洗5温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName118',
    dataIndex: 'itemName118',
    title: '强热风吹干1温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName119',
    dataIndex: 'itemName119',
    title: '强热风吹干2温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName120',
    dataIndex: 'itemName120',
    title: '微蚀开药缸温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName121',
    dataIndex: 'itemName121',
    title: '还原添加缸A温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName122',
    dataIndex: 'itemName122',
    title: '沉铜暂存缸温度_设置值 ℃',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName123',
    dataIndex: 'itemName123',
    title: '微蚀A上喷淋压力 kgf/cm2',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName124',
    dataIndex: 'itemName124',
    title: '微蚀A下喷淋压力 kgf/cm2',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName125',
    dataIndex: 'itemName125',
    title: '强风吹干压力1 kPa',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName126',
    dataIndex: 'itemName126',
    title: '强风吹干压力2 kPa',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName127',
    dataIndex: 'itemName127',
    title: '强热风吹干1压力 kPa',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName128',
    dataIndex: 'itemName128',
    title: '强热风吹干2压力1 kPa',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'itemName129',
    dataIndex: 'itemName129',
    title: '强热风吹干2压力2 kPa',
    align: 'center',
    width: 200,
    checked: true,
    ellipsis: true
  },
  {
    key: 'dateTime',
    dataIndex: 'dateTime',
    title: '创建时间',
    width: 150,
    align: 'center',
    checked: true,
    ellipsis: true
  }
];

function search() {
  tableRef.value.getData(1);
}

function reset() {
  nextTick(() => {
    searchParams.value = {
      moduleNo: null,
      lotId: null,
      pnlId: null,
      time: null,
      hasPnl: null
    };
    search();
  });
}
</script>

<template>
  <div
    class="code-whitelist-page jl-main-page min-h-500px flex-col-stretch gap-16px overflow-hidden lt-sm:overflow-auto"
  >
    <CommonSearch
      ref="commonSearchRef"
      v-model:searchParams="searchParams"
      :form-list="searchFormList"
      :is-search="true"
      @search="search"
      @reset="reset"
    ></CommonSearch>

    <Table
      ref="tableRef"
      v-model:searchParams="searchData"
      :column="column"
      :show-row-selection="false"
      :auto-generate-uuid="true"
      :scroll="{ y: 'auto' }"
      is-init-get-data
      url="eap/EapEqpTrace2/selectYuZhouChentong4"
    ></Table>
  </div>
</template>

<style lang="scss" scoped></style>
